TaxJar\Cart_Tax_Applicator S

Total Complexity 26
Dependencies 2
Dependents 1
Total lines 262
Lines of code 135
Logical lines of code 93
Comment lines 92
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
apply_tax_to_negative_fee()
S
53 4 23
apply_fee_taxes()
S
56 4 19
apply_shipping_tax()
S
56 4 18
merge_tax_arrays()
S
62 4 12
apply_tax_to_cart_contents()
S
57 3 15
__construct()
S
81 1 3
apply_new_tax()
S
73 1 6
apply_line_subtotal_tax()
S
63 1 9
apply_line_total_tax()
S
63 1 9
round_line_tax()
S
79 1 3
apply_tax_to_fee()
S
66 1 8
calculate_totals()
S
63 1 10